package com.cq.hd.member.mapper;

import com.cq.hd.common.enums.biz.PayStateEnum;
import com.cq.hd.member.api.dto.AdminSubsidyAmtBillPageDto;
import com.cq.hd.member.api.dto.SubsidyAmtBillDto;
import com.cq.hd.member.api.vo.AdminSubsidyAmtBillPageVo;
import com.cq.hd.member.api.vo.SubsidyAmtBillPageVo;
import com.cq.hd.member.po.TbSubsidyAmtBillPo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 补贴金流水表 Mapper 接口
 * </p>
 *
 * @author mYunYu
 * @since 2024-01-28
 */
@Mapper
public interface TbSubsidyAmtBillMapper extends BaseMapper<TbSubsidyAmtBillPo> {

    List<SubsidyAmtBillPageVo> listSubsidyAmtBill(SubsidyAmtBillDto subsidyAmtBillDto);

    List<AdminSubsidyAmtBillPageVo> listSubsidyAmtBillByDto(AdminSubsidyAmtBillPageDto adminSubsidyAmtBillPageDto);

    void updateByRelationTradeNo(@Param("relationTradeNo") String relationTradeNo, @Param("payState") Integer payState);
}
